Combination of Logic Gates